package org.lem

class TeachingAssignment {

    ClassSchedule classId
    DayOfWeek dayOfWeek
    Volunteer teacher

    static belongsTo = [teacher:Volunteer]

    static constraints = {
    	classId(blank:false)
    	dayOfWeek(blank:false)
    	teacher(blank:false)
    }

}